<%--
  Created by IntelliJ IDEA.
  User: 熊思豪
  Date: 2023/1/4
  Time: 20:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" isELIgnored="false" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title>货物物流管理</title>
</head>
<body>
<a href="/getALLGoodsAddressAndGoods">添加货物</a>
<table width="600px" border="1px" class="table table-condensed table-bordered table-hover table-striped">
    <tr>
        <th>ID</th>
        <th>货物名称</th>
        <th>发货时间</th>
        <th>到货时间</th>
        <th>数量</th>
        <th>送货地址</th>
        <th>收货地址</th>
        <th>操作</th>
    </tr>
    <c:forEach var="logisticsSearches" items="${logisticsSearches}">
        <tr>
            <td>${logisticsSearches.id}</td>
            <td>${logisticsSearches.goodsName}</td>
            <td>${logisticsSearches.shippingTime}</td>
            <td>${logisticsSearches.arrivalTime}</td>
            <td>${logisticsSearches.quantity}</td>
            <td>${logisticsSearches.shipFromAddress}</td>
            <td>${logisticsSearches.shippingAddress}</td>
            <td>
                <a href="/getALLGoodsAddressAndGoods2?id=${logisticsSearches.id}&goodsName=${logisticsSearches.goodsName}&shippingTime=${logisticsSearches.shippingTime}&arrivalTime=${logisticsSearches.arrivalTime}&quantity=${logisticsSearches.quantity}&shipFromAddress=${logisticsSearches.shipFromAddress}&shippingAddress=${logisticsSearches.shippingAddress}">更新</a>
                <a href="javascript:if(confirm('是否确认删除？'))location.href='/delL?id=${logisticsSearches.id}'">删除</a>
            </td>
        </tr>
    </c:forEach>
</table>
</body>
</html>
